﻿using BusinessFacade;
using DataAccessLayers;

namespace BusinessRules
{
    /// <summary>
    /// Grian 粒度规范
    /// </summary>
    public class TestCommon : Orleans.Grain, ITestCommon
    {

        /// <summary>
        /// 获取招呼信息
        /// </summary>
        /// <param name="name"></param>
        /// <param name="msg"></param>
        /// <returns></returns>

        public Task<string> GetString(string name, string msg)
        {
            return Task.FromResult(TestCommonMapper.GetString(name, msg));
        }
    }
}
